

export function shouldUpdateComponent (prevVNode,nextVNode){
    const {props:prevProps} = prevVNode;
    const {props:nextProps} = nextVNode;
    for (const key in nextProps){
        if (nextProps[key] !== prevProps[key]){
            return true;
        }
    }
}